<template>
    <div class="recommended-singerlists app-card">
        <div class="title-line">
            <div class="title">热门歌手</div>
            <div class="more"></div>
        </div>
        <div class="content hide-scrollbar">
            <div class="play-list">
                <div class="item" v-for="item in 7" @click="toSinger">
                    <div class="img"></div>
                    <div class="name text-ellipsis">毛不易</div>
                </div>
            </div>
        </div>
    </div>
</template>

<script setup>
import { useRouter } from 'vue-router';
const router = useRouter();
const toSinger = () => {
    router.push({ name: 'Singer' });
}
</script>

<style scoped lang="less">
.recommended-singerlists .content {
    overflow-x: auto;
    overflow-y: hidden;
    flex: 1;

    .play-list {
        width: auto;
        height: 100%;
        display: flex;
        gap: 3vw;
        padding-bottom: 3vw;

        .item {
            --size: 20vw;
            max-width: var(--size);

            .img {
                width: var(--size);
                height: var(--size);
                border-radius: 50%;
                background-color: var(--loading-color);
            }

            .name {
                width: 100%;
                font-size: 4vw;
                color: #000;
                text-align: center;
            }
        }
    }
}

</style>